package com.ebring.shareEducation.bean;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.List;

@AllArgsConstructor
@NoArgsConstructor
@Data
@Accessors(chain = true)
@Table(name = "menu")
public class Menu implements Serializable {

    @Id
    private String id;  //ID
    private String menuName; //菜单名称
    private String parentId; //父级菜单ID
    private String menuGrade; //菜单级别
    private String menuId; //菜单ID
    private String operation; //界面控件（如按钮等）add添加 del删除 edit修改 find查询 选择sel 文件上传upload 每一个界面控件的权限之间用_隔开  eg:  add_edit_sel
    private String jumpPath; //菜单地址
    private String menuPicUrl;//菜单图片
    private String remark1;//   备用
    private String remark2;//   备用
    private List<RoleMenu> roleMenuList;
}
